.class final Lnbisdk/nf;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field private sP:Lnbisdk/ea;

.field private sQ:Lnbisdk/il;

.field private sR:Lnbisdk/jb;

.field private sS:Lnbisdk/jb;

.field private sT:Lnbisdk/jb;

.field private sU:Lnbisdk/it;

.field private sV:Lnbisdk/lv;


# direct methods
.method constructor <init>(Lnbisdk/it;)V
    .locals 3

    const/16 v2, 0xa

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lnbisdk/nf;->sU:Lnbisdk/it;

    new-instance v0, Lnbisdk/il;

    const/16 v1, 0x32

    invoke-direct {v0, v1}, Lnbisdk/il;-><init>(I)V

    iput-object v0, p0, Lnbisdk/nf;->sQ:Lnbisdk/il;

    new-instance v0, Lnbisdk/jb;

    invoke-direct {v0, v2}, Lnbisdk/jb;-><init>(I)V

    iput-object v0, p0, Lnbisdk/nf;->sT:Lnbisdk/jb;

    new-instance v0, Lnbisdk/jb;

    const/4 v1, 0x5

    invoke-direct {v0, v1}, Lnbisdk/jb;-><init>(I)V

    iput-object v0, p0, Lnbisdk/nf;->sR:Lnbisdk/jb;

    new-instance v0, Lnbisdk/jb;

    invoke-direct {v0, v2}, Lnbisdk/jb;-><init>(I)V

    iput-object v0, p0, Lnbisdk/nf;->sS:Lnbisdk/jb;

    return-void
.end method

.method private declared-synchronized b(ILnbisdk/lv;)V
    .locals 4

    const/4 v3, 0x0

    const/4 v2, 0x1

    monitor-enter p0

    const/4 v0, 0x2

    if-ne p1, v0, :cond_2

    :try_start_0
    iget-object v0, p0, Lnbisdk/nf;->sP:Lnbisdk/ea;

    if-nez v0, :cond_7

    move v0, v2

    :goto_0
    check-cast p2, Lnbisdk/ea;

    iput-object p2, p0, Lnbisdk/nf;->sP:Lnbisdk/ea;

    move v1, v2

    :goto_1
    if-eqz v1, :cond_0

    invoke-virtual {p0}, Ljava/lang/Object;->notifyAll()V

    :cond_0
    if-eqz v0, :cond_1

    iget-object v0, p0, Lnbisdk/nf;->sU:Lnbisdk/it;

    invoke-virtual {v0, p0}, Lnbisdk/it;->b(Ljava/lang/Runnable;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_1
    monitor-exit p0

    return-void

    :cond_2
    const/4 v0, 0x3

    if-ne p1, v0, :cond_3

    :try_start_1
    iget-object v0, p0, Lnbisdk/nf;->sQ:Lnbisdk/il;

    invoke-virtual {v0, p2}, Lnbisdk/il;->a(Lnbisdk/lv;)Z

    move-result v0

    iget-object v1, p0, Lnbisdk/nf;->sQ:Lnbisdk/il;

    invoke-virtual {v1}, Lnbisdk/il;->size()I

    move-result v1

    if-eqz v1, :cond_6

    move v1, v2

    goto :goto_1

    :cond_3
    const/16 v0, 0xa

    if-ne p1, v0, :cond_4

    iget-object v0, p0, Lnbisdk/nf;->sR:Lnbisdk/jb;

    invoke-virtual {v0, p2}, Lnbisdk/jb;->a(Lnbisdk/lv;)Z

    move-result v0

    move v1, v2

    goto :goto_1

    :cond_4
    const/16 v0, 0xb

    if-ne p1, v0, :cond_5

    iget-object v0, p0, Lnbisdk/nf;->sS:Lnbisdk/jb;

    invoke-virtual {v0, p2}, Lnbisdk/jb;->a(Lnbisdk/lv;)Z

    move-result v0

    move v1, v2

    goto :goto_1

    :cond_5
    iget-object v0, p0, Lnbisdk/nf;->sT:Lnbisdk/jb;

    invoke-virtual {v0, p2}, Lnbisdk/jb;->a(Lnbisdk/lv;)Z
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    move-result v0

    move v1, v2

    goto :goto_1

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    :cond_6
    move v1, v3

    goto :goto_1

    :cond_7
    move v0, v3

    goto :goto_0
.end method


# virtual methods
.method final declared-synchronized a(ILnbisdk/lv;)V
    .locals 1

    monitor-enter p0

    :try_start_0
    invoke-direct {p0, p1, p2}, Lnbisdk/nf;->b(ILnbisdk/lv;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final run()V
    .locals 6

    const/4 v1, 0x0

    iget-object v0, p0, Lnbisdk/nf;->sQ:Lnbisdk/il;

    invoke-virtual {v0}, Lnbisdk/il;->size()I

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lnbisdk/nf;->sQ:Lnbisdk/il;

    invoke-virtual {v0}, Lnbisdk/il;->gC()Lnbisdk/lv;

    move-result-object v0

    :goto_0
    iput-object v0, p0, Lnbisdk/nf;->sV:Lnbisdk/lv;

    iget-object v0, p0, Lnbisdk/nf;->sV:Lnbisdk/lv;

    iget v0, v0, Lnbisdk/lv;->gE:I

    sparse-switch v0, :sswitch_data_0

    :goto_1
    :sswitch_0
    return-void

    :cond_0
    iget-object v0, p0, Lnbisdk/nf;->sP:Lnbisdk/ea;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lnbisdk/nf;->sP:Lnbisdk/ea;

    iput-object v1, p0, Lnbisdk/nf;->sP:Lnbisdk/ea;

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lnbisdk/nf;->sT:Lnbisdk/jb;

    invoke-virtual {v0}, Lnbisdk/jb;->size()I

    move-result v0

    if-eqz v0, :cond_2

    iget-object v0, p0, Lnbisdk/nf;->sT:Lnbisdk/jb;

    invoke-virtual {v0}, Lnbisdk/jb;->gC()Lnbisdk/lv;

    move-result-object v0

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lnbisdk/nf;->sP:Lnbisdk/ea;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lnbisdk/nf;->sP:Lnbisdk/ea;

    iput-object v1, p0, Lnbisdk/nf;->sP:Lnbisdk/ea;

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lnbisdk/nf;->sS:Lnbisdk/jb;

    invoke-virtual {v0}, Lnbisdk/jb;->size()I

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lnbisdk/nf;->sS:Lnbisdk/jb;

    invoke-virtual {v0}, Lnbisdk/jb;->gC()Lnbisdk/lv;

    move-result-object v0

    goto :goto_0

    :sswitch_1
    iget-object p0, p0, Lnbisdk/nf;->sV:Lnbisdk/lv;

    check-cast p0, Lnbisdk/lt;

    iget-object v0, p0, Lnbisdk/lt;->qE:Lnbisdk/mg;

    iget-object v1, p0, Lnbisdk/lt;->qF:Lcom/navbuilder/nb/b;

    iget v2, p0, Lnbisdk/lt;->qH:I

    iget-object v3, p0, Lnbisdk/lt;->qI:Lcom/navbuilder/nb/NBException;

    iget v4, p0, Lnbisdk/lt;->progress:I

    iget-object v5, p0, Lnbisdk/lt;->qG:Ljava/lang/Object;

    invoke-interface/range {v0 .. v5}, Lnbisdk/mg;->a(Lcom/navbuilder/nb/b;ILcom/navbuilder/nb/NBException;ILjava/lang/Object;)V

    goto :goto_1

    :sswitch_2
    iget-object p0, p0, Lnbisdk/nf;->sV:Lnbisdk/lv;

    check-cast p0, Lnbisdk/ea;

    invoke-virtual {p0}, Lnbisdk/ea;->dS()Ljava/lang/Runnable;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/Runnable;->run()V

    goto :goto_1

    :cond_4
    move-object v0, v1

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x2 -> :sswitch_0
        0x3 -> :sswitch_1
        0x5 -> :sswitch_2
        0xb -> :sswitch_0
    .end sparse-switch
.end method
